<?php
  $this->Html->addCrumb('Trinidad and Tobago Destination Weddings');
?>
    <div id="tourismPage" class="content">
      <h1 class="inline"><?php echo $contents['Content']['content_title']; ?></h1>
  
  <iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=google+map+trinidad+and+tobago&amp;sll=11.738302,-62.006836&amp;sspn=11.426826,19.753418&amp;gl=us&amp;ie=UTF8&amp;hq=&amp;hnear=Trinidad+and+Tobago&amp;t=m&amp;ll=10.692996,-61.221313&amp;spn=1.29544,1.757812&amp;z=9&amp;output=embed"></iframe><br /><small><a href="https://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=google+map+trinidad+and+tobago&amp;sll=11.738302,-62.006836&amp;sspn=11.426826,19.753418&amp;gl=us&amp;ie=UTF8&amp;hq=&amp;hnear=Trinidad+and+Tobago&amp;t=m&amp;ll=10.692996,-61.221313&amp;spn=1.29544,1.757812&amp;z=9" style="color:#0000FF;text-align:left">View Larger Map</a></small>
  <?php
  $this->Html->scriptStart(array('inline' => false));
  echo '
    $(function(){
    var $headers = $("#tourismBody h1, #tourismBody h2, #tourismBody h3");
      if ($headers.size()>0) {
      $("#tourismNav ul").empty();
      var count=1;
       $.each($headers, function(index, value){
       $(this).append("<a name=\'heading_"+count+"\'></a>");
        $("#tourismNav ul").append("<li><a href=\'#heading_"+count+"\'>"+$(this).text()+"</a></li>");
        count++;
       });
       $("#tourismNav").show();
      }
    });';
  $this->Html->scriptEnd();
  ?>

  <div id="tourismNav" style="display:none;">
    <ul>
    </ul>
  </div>

  <div id="tourismBody">
    <?php
    if (isset($contents['Content']['info'])) {
      echo nl2br($contents['Content']['info']);
    }
    ?>
  </div>

</div>
